package com.lx.mailweb.biz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lx.mailweb.domain.User;
import com.lx.mailweb.persistence.mapper.UserDaoMapper;

@Service
public class UserBiz {
	@Autowired
	private UserDaoMapper userDaoMapper;
	public  User login(String username,String password){
		//Login
		User user=userDaoMapper.getUser(username,password);
		return user;
	}
	
	
}

